<?php
/**
 * Created by PhpStorm.
 * User: jixu
 * Date: 17-7-20
 * Time: 下午5:32
 */
class testModel extends Model {

    public function __construct() {
        parent::__construct('comments');
    }

    function tselect($condition = array()){
        return $this->where($condition)->find();
    }
}